<?php include "connection.php";?>
<?php include "checkSession.php";?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<?php

$delect_id=$_REQUEST['userId'];


$tableProduct = "user";

$sql = "delete from $tableProduct where user_id='$delect_id'";
$query=mysql_query($sql) or die ('删除数据失败');



?>
<script type="text/javascript">
    alert("会员已删除，请点击返回列表！");
    document.location = "../admin_list_control.php";
</script>
</body>
</html>